package tau.dimes.beans;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root
public class SavedQuery {

	@Element
	private String query;

	@Element
	private String server;

	@Element
	private String previewRows;

	@Element
	private String ipColumnText;

	@Element
	private String traceColumnText;

	@Element(required=false)
	private String maxRows;

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	public String getServer() {
		return server;
	}

	public void setServer(String server) {
		this.server = server;
	}

	public String getPreviewRows() {
		return previewRows;
	}

	public void setPreviewRows(String previewRows) {
		this.previewRows = previewRows;
	}

	public String getIpColumnText() {
		return ipColumnText;
	}

	public void setIpColumnText(String ipColumnText) {
		this.ipColumnText = ipColumnText;
	}

	public String getTraceColumnText() {
		return traceColumnText;
	}

	public void setTraceColumnText(String traceColumn) {
		this.traceColumnText = traceColumn;
	}

	public String getMaxRows() {
		return maxRows;
	}

	public void setMaxRows(String maxRows) {
		this.maxRows = maxRows;
	}
}
